{extend name="base"}
{block name="title"}俱乐部开服列表{/block}
{block name="head"}
<style type="text/css">
.border-table tbody th {text-align: center;}
*{font-size: 13px;}

</style>
{/block}
{block name="body"}
<body class="mainbody">
<form>
    <!--导航栏-->
    <div class="location">
        <a href="javascript:history.back(-1);" class="back"><i class="iconfont icon-up"></i><span>返回上一页</span></a>
        <a href="{:url('index/home')}" class="home"><i class="iconfont icon-home"></i><span>首页</span></a>
        <i class="arrow iconfont icon-arrow-right"></i>
        <span>俱乐部开服列表</span>
    </div>
    <!--/导航栏-->

    
     <div class="table-container">
        <table class="ltable border-table">
            <tr align="center">
                <th>亲友团标识/桌子数量({$TaNumb})</th>
                <th>游戏标识</th>
                <th>服务标识</th>
                <th>当前时间</th>
                <th>群主标识</th>
                <th>房间号</th>
                <th>亲友团标识</th>
                <th>端口</th>
            </tr>
            {empty name="page"}
            <tr><td colspan="10">Oh~暂无数据!</td></tr>
            {else/}
            {volist name="page" key="key" id="v"}
                <td rowspan="{$v.num+1}" style="border-bottom:2px solid red;" >{$v.groupid}[{$v.num}桌]</td>
                {volist name="v.data" key="k" id="ve"}
                <tr>
                    <td>{$ve.kindid}</td>
                    <td>{$ve.serverid}</td>
                    <td>{$ve.createtime}</td>
                    <td class="user-avatar" title="
游戏帐号：{$v.userid.Accounts}&#13
真实姓名：{$v.userid.Compellation}&#13
用户标识：{$v.userid.UserID}&#13
    性别：{$v.userid.Sex=1 ? '男' : '女'}&#13
注册时间：{$v.userid.RegisterDate}&#13
注册地址：{$v.userid.RegisterIP}&#13;
登录次数：{$v.userid.GameLogonCount} 次&#13
最后登录时间：{$v.userid.LastLogonDate}&#13
最后登录地址：{$v.userid.LastLogonIP}&#13
">
      <a target="_blank" href="{:url('user.detail/index')}?UserID={$v.userid.UserID}">
                <img src="{$v.userid.HeadImgUrl?:'__STATIC__/houtai/images/dface.png'}" />
              </a>
              <div class="user-box">
                <h4><a target="_blank" class="at_{$v.userid.AccountsType}" href="{:url('user.detail/index')}?UserID={$v.userid.UserID}">{:htmlentities($v.userid.NickName)}</a></h4>
                <i>游戏标识:{$v.userid.GameID}</i>
                <i>{$v.userid.RegisterDate}</i>

              </div>
            </td>
                    <td>{$ve.roomid}</td>
                    <td>{$ve.groupid}</td>
                    <td>{$ve.addr}</td>
                </tr> 
               {/volist}
            {/volist}
            {/empty}
        </table>
    </div>
    

  <div class="page-footer"><div class="btn-wrap">{$page->render()}</div></div>
</form>

</body>
{/block}